﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Text;
using SqlSugar;

namespace Model.Models
{
    /// <summary>
    /// ApiLog
    /// </summary>
    [SugarTable("sys_ApiLog")]
    public class ApiLog : BaseDBModelV2
    {
        /// <summary>
        /// 推送地址
        /// </summary>
        [StringLength(2000)]
        [Description("推送地址")]
        public string? PushUrl { get; set; } = "";

        /// <summary>
        /// 推送内容
        /// </summary>
        [MaxLength]
        [Description("推送内容")]
        public string? PushContent { get; set; } = "";



        /// <summary>
        /// 响应内容
        /// </summary>
        [StringLength(2000)]
        [Description("响应内容")]
        public string? ResponseContent { get; set; } = "";

        /// <summary>
        /// 请求时间-响应时间
        /// </summary>
        [StringLength(200)]
        [Description("请求时间-响应时间")]
        public string? RequestTime { get; set; } = "";

        /// <summary>
        /// 状态
        /// </summary>
        [StringLength(200)]
        [Description("状态")]
        public string? State { get; set; } = "";
    }
}
